﻿<UserControl x:Class="GYMm.UI.Controls.Input"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="using:GYMm.UI.Controls"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             d:DesignHeight="200"
             d:DesignWidth="200"
             mc:Ignorable="d">

	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="*" />
			<RowDefinition Height="2*" />
			<RowDefinition Height="*" />
		</Grid.RowDefinitions>

		<Button HorizontalAlignment="Stretch"
		        BorderBrush="{x:Null}"
		        BorderThickness="0"
		        Click="UpClicked"
		        Padding="5">
			<Path HorizontalAlignment="Center"
			      VerticalAlignment="Stretch"
			      Data="M800,139.75 L860,79.75 L920,139.5 z"
			      Fill="{StaticResource GymBlue}"
			      RenderTransformOrigin="0,0"
			      Stretch="Uniform" />
		</Button>


		<TextBlock Grid.Row="1"
		           Margin="0"
		           HorizontalAlignment="Center"
		           VerticalAlignment="Center"
		           FontSize="{StaticResource SuperLargeFontSize}"
		           FontWeight="ExtraLight"
		           Foreground="{StaticResource GymGray}"
		           TextAlignment="Center">
			<Run x:Name="ValueTB" Text="50" />
			<Run x:Name="LabelTB"
			     FontSize="{StaticResource SmallFontSize}"
			     Text="kg" />
		</TextBlock>



		<Button Grid.Row="2"
		        HorizontalAlignment="Stretch"
		        BorderBrush="{x:Null}"
		        BorderThickness="0"
		        Click="DownClicked"
		        Padding="5">
			<Path HorizontalAlignment="Center"
			      VerticalAlignment="Stretch"
			      Data="M800.25,160.25 L920.5,159.75 L860.25,219.75 z"
			      Fill="{StaticResource GymLightGray}"
			      RenderTransformOrigin="0,0"
			      Stretch="Uniform" />
		</Button>
	</Grid>
</UserControl>
